package com.sinotopia.springboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.sinotopia.springboot.domain.Customer;

/**
 * @author Sinotopia@Hangzhou
 */
@Mapper
public interface CustomerMapper {

	@Select("select * from customer where customer_id = #{id}")
	Customer findById(@Param("id") int id);

}